package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.SpecParamDTO;
import com.leyou.item.entity.SpecParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SpecParamService extends IService<SpecParam> {

    List<SpecParamDTO> queryParams(@Param("gid,")Long gid, @Param("cid") Long cid,@Param("searching") Boolean searching);

    void addParam(@Param("paramDTO") SpecParamDTO paramDTO);

    void updateParam(@Param("paramDTO") SpecParamDTO paramDTO);
}